/**
 * NOTE HOST、HOST_M 是在 config 中通过 defineConstants 配置的
 * 只所以不在代码中直接引用，是因为 eslint 会报 no-undef 的错误，因此用如下方式处理
 */
/* eslint-disable */
export const host = HOST
export const hostM = HOST_M
/* eslint-enable */

// pic
export const CDN = 'https://yanxuan.nosdn.127.net'

// home
export const API_BANNER_LIST = `${host}/indexImgs`
export const API_PROD_TAG_LIST = `${host}/prod/tag/prodTagList`
export const API_PROD_LIST_BY_TAG_ID = `${host}/prod/prodListByTagId`

//category
export const API_CATEGORY_MENU=`${host}/category/categoryInfo`
export const API_PROD_PAGEPROD=`${host}/prod/pageProd`

//search
export const API_PROD_LIST=`${host}/search/searchProdPage`
export const API_PROD_ITEM=`${host}/prod/prodInfo`

//comment
export const API_COMMENT_PROD=`${host}/prodComm/prodCommData`
export const API_COMMENT_PROD_PAGE=`${host}/prodComm/prodCommPageByProd`

